<?php

class Application_Form_Bet extends Zend_Form
{
	public function __construct($action=null){
		parent::__construct();
		$this->setAction($action);
	}
    public function init()
    {
		$this->setMethod('post');
		$score_left = new Zend_Form_Element_Text('score_left');
        $score_left->setOptions(array('size' => 5))
        		->setRequired(true)
        		->addValidator('Int');
        $score_right = new Zend_Form_Element_Text('$score_right');
        $score_right->setOptions(array('size' => 5))
        		->setRequired(true)
        		->addValidator('Int');
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel('BET');

        $this->addElements(array($score_left, $score_right, $submit));
    }
}

